Fix ARM_BL31_IN_DRAM build
authorDouglas Raillard <[email protected]>
Wed, 8 Mar 2017 16:49:31 +0000 (16:49 +0000)
committerDouglas Raillard <[email protected]>
Mon, 3 Apr 2017 17:59:22 +0000 (18:59 +0100)
Some header files using the ULL() macro were not directly including
utils.h where the macro definition resides. As a consequence, a linker
script with values using this macro did not see the macro definition
and kept the "ULL(<value>)" call in the preprocessed file, which lead to
link error.

Files using ULL() macro now include utils.h directly.

Change-Id: I433a7f36bd21a156c20e69bc2a2bb406140ebdf9
Signed-off-by: Douglas Raillard <[email protected]>
include/plat/arm/board/common/board_css_def.h
include/plat/arm/common/arm_def.h
include/plat/arm/soc/common/soc_css_def.h
plat/arm/board/fvp/include/platform_def.h

index 65e3d32d732a021833db3d09bb1ab55f8e916d60..4b5e84dd588b62072f8652904c776e2102a28374 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <common_def.h>
 #include <soc_css_def.h>
+#include <utils.h>
 #include <v2m_def.h>
 
 /*
index 8ce718af40585d95f0213d46f3529feac347d8f2..43e0eb893ca3d11c9a45fe75d89871319548b042 100644 (file)
@@ -34,6 +34,7 @@
 #include <common_def.h>
 #include <platform_def.h>
 #include <tbbr_img_def.h>
+#include <utils.h>
 #include <xlat_tables_defs.h>
 
 
index e83144ec55a32a95d1a3d84f4599902c4e5c36b3..3b4cc79f8e3661df85f293cc93dc7f128b7cdab8 100644 (file)
@@ -32,6 +32,7 @@
 #define __SOC_CSS_DEF_H__
 
 #include <common_def.h>
+#include <utils.h>
 
 
 /*
index bf5e03b08360266745765d24e85021a4b9005836..4088e9869a2d758412041981f17e5e69eae59b45 100644 (file)
@@ -35,6 +35,7 @@
 #include <board_arm_def.h>
 #include <common_def.h>
 #include <tzc400.h>
+#include <utils.h>
 #include <v2m_def.h>
 #include "../fvp_def.h"